package com.entmanage.base.hrm.service;

import java.util.List;
import com.entmanage.base.hrm.domain.HrmEmployeeCertificate;

/**
 * 员工证书子Service接口
 *
 * @author lsq
 * @date 2025-09-02
 */
public interface IHrmEmployeeCertificateService
{
    /**
     * 查询员工证书子
     *
     * @param certId 员工证书子主键
     * @return 员工证书子
     */
    public HrmEmployeeCertificate selectHrmEmployeeCertificateByCertId(Long certId);

    /**
     * 查询员工证书子列表
     *
     * @param hrmEmployeeCertificate 员工证书子
     * @return 员工证书子集合
     */
    public List<HrmEmployeeCertificate> selectHrmEmployeeCertificateList(HrmEmployeeCertificate hrmEmployeeCertificate);

    /**
     * 新增员工证书子
     *
     * @param hrmEmployeeCertificate 员工证书子
     * @return 结果
     */
    public int insertHrmEmployeeCertificate(HrmEmployeeCertificate hrmEmployeeCertificate);

    /**
     * 修改员工证书子
     *
     * @param hrmEmployeeCertificate 员工证书子
     * @return 结果
     */
    public int updateHrmEmployeeCertificate(HrmEmployeeCertificate hrmEmployeeCertificate);

    /**
     * 批量删除员工证书子
     *
     * @param certIds 需要删除的员工证书子主键集合
     * @return 结果
     */
    public int deleteHrmEmployeeCertificateByCertIds(Long[] certIds);

    /**
     * 删除员工证书子信息
     *
     * @param certId 员工证书子主键
     * @return 结果
     */
    public int deleteHrmEmployeeCertificateByCertId(Long certId);

    public List<HrmEmployeeCertificate> selectCertificateByEmpId(Long empId);
}
